
module.exports = {
  assetsDir: 'news',

  // //路径，process主进程，env环境变量，NODE_ENV值/production生产环境
  // publicPath: process.env.NODE_ENV === 'production' ?
  //   'https://cnd.hterobot.com/vue/' : '/',
  
  configureWebpack: {
    devtool: 'source-map',
  },

  pluginOptions: {
    prerenderSpa: {
      registry: undefined,
      renderRoutes:  [
        '/', '/loginCourse','/HarbinDynamics','/HarbinDynamics/1','/HarbinDynamics/2', '/HarbinDynamics/3','/HarbinDynamics/4','/HarbinDynamics/5','/HarbinDynamics/6','/HarbinDynamics/7','/HarbinDynamics/8','/HarbinDynamics/9','/HarbinDynamics/10','/HarbinDynamics/11','/HarbinDynamics/12','/HarbinDynamics/13','/HarbinDynamics/14','/HarbinDynamics/15','/HarbinDynamics/16','/HarbinDynamics/17','/HarbinDynamics/18','/Campus','/Campus/1','/Campus/2','/Campus/3', '/Campus/4','/Campus/5','/Campus/6','/Campus/7','/Campus/8','/Campus/9','/course','/about','/point'
      ],
      useRenderEvent: false,
      headless: false,
      onlyProduction: true
    }
  }
}
